package com.example.fuluchou.common.errorcode;

public interface ServiceErrorCodeConstants {
    //登录人员错误
    ErrorCode REGISTER_INFO_IS_EMPTY = new ErrorCode(100,"注册信息为空");
    ErrorCode MAIL_ERROR = new ErrorCode(101,"邮箱错误");
    ErrorCode PHONE_ERROR = new ErrorCode(102,"手机号错误");
    ErrorCode IDENTITY_ERROR = new ErrorCode(103,"身份错误");
    ErrorCode PASSWORD_IS_EMPTY = new ErrorCode(104,"密码为空");
    ErrorCode PASSWORD_ERROR = new ErrorCode(105,"密码错误");
    ErrorCode MAIL_USER = new ErrorCode(106,"邮箱被占用");
    ErrorCode PHONE_USER = new ErrorCode(107,"电话被占用");
    ErrorCode MAIL_IS_EMPTY = new ErrorCode(108,"邮箱为空");
    ErrorCode PHONE_IS_EMPTY = new ErrorCode(109,"电话为空");
    ErrorCode LOGIN_INFO_NO_EXISTS = new ErrorCode(110,"登录信息不存在");
    ErrorCode LOGIN_WAY_NO_EXISTS = new ErrorCode(111,"登录方式不存在");
    ErrorCode USER_INFO_IS_EMPTY = new ErrorCode(112,"用户信息为空");
    ErrorCode CODE_IS_EMPTY = new ErrorCode(113,"验证码为空");
    ErrorCode CODE_ERROR = new ErrorCode(114,"验证码错误");

    // ------ 奖品模块错误码 --------
    ErrorCode ACTIVITY_OR_PRIZE_IS_EMPTY = new ErrorCode(200,"活动或奖品信息错误");
    ErrorCode ACTIVITY_COMPLETED = new ErrorCode(201,"活动已完成");
    ErrorCode ACTIVITY_PRIZE_COMPLETED = new ErrorCode(202,"活动奖品已被抽取");
    ErrorCode WINNER_PRIZE_AMOUNT_ERROR = new ErrorCode(203,"活动奖品数量和中奖人员数量异常");

    // ------ 活动模块错误码 --------
    ErrorCode CREATE_ACTIVITY_INFO_IS_EMPTY = new ErrorCode(300, "创建的活动信息为空");
    ErrorCode ACTIVITY_USER_ERROR = new ErrorCode(301, "活动关联人员异常");
    ErrorCode ACTIVITY_PRIZE_ERROR = new ErrorCode(302, "活动关联奖品异常");
    ErrorCode PRIZE_USER_ERROR = new ErrorCode(303, "奖品及参与人员数量设置异常");
    ErrorCode PRIZE_TIERS_ERROR = new ErrorCode(304, "奖品等级设置异常");
    ErrorCode ACTIVITY_STATUS_CONVERT_ERROR = new ErrorCode(305,"活动相关状态转换失败");
    ErrorCode CACHE_ACTIVITYID_IS_EMPTY = new ErrorCode(306,"缓存活动的活动Id为空");
    ErrorCode CACHE_ACTIVITYID_ERROR = new ErrorCode(307,"要查询的活动Id有误");



    //-------    图片错误   --------
    ErrorCode PICTURE_UPLOAD_ERROR = new ErrorCode(401,"图片上传错误");





}
